/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.dao;

import com.qdu.entity.Book;
import java.util.List;

/**
 *
 * @author Lenovo
 */
public interface BookDao {

    int insert(Book b);

    int update(Book b);

    int deleteBybId(String bId);

   List<Book> getBooksByKeyword(String bookName);

    List<Book> getAllBooks();

    Book getBookInfoById(String bookId);
}
